<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>OrbbecSDK: OBDataBundle Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="orbbec_icon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OrbbecSDK
   &#160;<span id="projectnumber">1.8.3</span>
   </div>
   <div id="projectbrief">OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structOBDataBundle-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OBDataBundle Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Internal API for future publication.  
 <a href="structOBDataBundle.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ObTypes_8h_source.html">ObTypes.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a680a947cb52f7a64ec0aa17b4bfe2d9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a3831c1a41a610f549bd07c5c9872556f">OBCmdVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structOBDataBundle.html#a680a947cb52f7a64ec0aa17b4bfe2d9c">cmdVersion</a></td></tr>
<tr class="memdesc:a680a947cb52f7a64ec0aa17b4bfe2d9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">OBCmdVersion of propertyId.  <a href="#a680a947cb52f7a64ec0aa17b4bfe2d9c">More...</a><br /></td></tr>
<tr class="separator:a680a947cb52f7a64ec0aa17b4bfe2d9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac88e7834ff571269c27a4bf9f9b0b79f"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structOBDataBundle.html#ac88e7834ff571269c27a4bf9f9b0b79f">data</a></td></tr>
<tr class="memdesc:ac88e7834ff571269c27a4bf9f9b0b79f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data containing itemCount of elements.  <a href="#ac88e7834ff571269c27a4bf9f9b0b79f">More...</a><br /></td></tr>
<tr class="separator:ac88e7834ff571269c27a4bf9f9b0b79f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a894e264e761bfcea31c96e9d19b0876e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structOBDataBundle.html#a894e264e761bfcea31c96e9d19b0876e">dataSize</a></td></tr>
<tr class="memdesc:a894e264e761bfcea31c96e9d19b0876e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Data size in bytes.  <a href="#a894e264e761bfcea31c96e9d19b0876e">More...</a><br /></td></tr>
<tr class="separator:a894e264e761bfcea31c96e9d19b0876e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e86b50432b1c9b1f4ae295fdc7cf17a"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structOBDataBundle.html#a6e86b50432b1c9b1f4ae295fdc7cf17a">itemTypeSize</a></td></tr>
<tr class="memdesc:a6e86b50432b1c9b1f4ae295fdc7cf17a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of data item.  <a href="#a6e86b50432b1c9b1f4ae295fdc7cf17a">More...</a><br /></td></tr>
<tr class="separator:a6e86b50432b1c9b1f4ae295fdc7cf17a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6662b409fe251df58966a04d7d69c09d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structOBDataBundle.html#a6662b409fe251df58966a04d7d69c09d">itemCount</a></td></tr>
<tr class="memdesc:a6662b409fe251df58966a04d7d69c09d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Count of data item.  <a href="#a6662b409fe251df58966a04d7d69c09d">More...</a><br /></td></tr>
<tr class="separator:a6662b409fe251df58966a04d7d69c09d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Internal API for future publication. </p>
<dl class="section note"><dt>Note</dt><dd>This data type matches OBCmdVersion of one propertyId. PropertyId has multiple OBCmdVersion, and different OBCmdVersion of this propertyId has different data types. PropertyId and OBCmdVersion match only one data type. itemCount is the number of data types contained in data bytes. C language and C++ have differences.</dd></dl>
<p>C language: data's type is a uint8_t pointer, and the user parses data to the destination type. itemTypeSize == 1, dataSize == itemCount;</p>
<p>C++: data's type is the propertyId and OBCmdVersion's data type. itemTypeSize = sizeof(T), itemCount = dataSize / itemTypeSize; </p>

<p>Definition at line <a class="el" href="ObTypes_8h_source.html#l00857">857</a> of file <a class="el" href="ObTypes_8h_source.html">ObTypes.h</a>.</p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a680a947cb52f7a64ec0aa17b4bfe2d9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a3831c1a41a610f549bd07c5c9872556f">OBCmdVersion</a> OBDataBundle::cmdVersion</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>OBCmdVersion of propertyId. </p>

<p>Definition at line <a class="el" href="ObTypes_8h_source.html#l00861">861</a> of file <a class="el" href="ObTypes_8h_source.html">ObTypes.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac88e7834ff571269c27a4bf9f9b0b79f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* OBDataBundle::data</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Data containing itemCount of elements. </p>
<dl class="section note"><dt>Note</dt><dd>void *data = new T[itemCount]; </dd></dl>

<p>Definition at line <a class="el" href="ObTypes_8h_source.html#l00868">868</a> of file <a class="el" href="ObTypes_8h_source.html">ObTypes.h</a>.</p>

</div>
</div>
<a class="anchor" id="a894e264e761bfcea31c96e9d19b0876e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t OBDataBundle::dataSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Data size in bytes. </p>
<dl class="section note"><dt>Note</dt><dd>dataSize == itemTypeSize * itemCount </dd></dl>

<p>Definition at line <a class="el" href="ObTypes_8h_source.html#l00875">875</a> of file <a class="el" href="ObTypes_8h_source.html">ObTypes.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6e86b50432b1c9b1f4ae295fdc7cf17a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t OBDataBundle::itemTypeSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Size of data item. </p>
<dl class="section note"><dt>Note</dt><dd>C language: itemTypeSize = 1, C++: itemTypeSize = sizeof(T) </dd></dl>

<p>Definition at line <a class="el" href="ObTypes_8h_source.html#l00882">882</a> of file <a class="el" href="ObTypes_8h_source.html">ObTypes.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6662b409fe251df58966a04d7d69c09d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t OBDataBundle::itemCount</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Count of data item. </p>
<dl class="section note"><dt>Note</dt><dd>itemCount = dataSize / itemTypeSize; 0 == dataSize % itemTypeSize; </dd></dl>

<p>Definition at line <a class="el" href="ObTypes_8h_source.html#l00889">889</a> of file <a class="el" href="ObTypes_8h_source.html">ObTypes.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/root/libobsensor/include/libobsensor/h/<a class="el" href="ObTypes_8h_source.html">ObTypes.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Nov 24 2023 10:56:17 for OrbbecSDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
